package com.lzm.ydpt.entity;

/**
 * 描述：过滤条件
 */
public class FilterCondition {

    private long id;
    private String title;
    private int distance;
    private boolean isSelect;

    public FilterCondition(String title, int distance) {
        this.title = title;
        this.distance = distance;
    }

    public FilterCondition(long id, String title, boolean isSelect) {
        this.id = id;
        this.title = title;
        this.isSelect = isSelect;
    }

    public FilterCondition(long id, long maxPrice, String title, boolean isSelect) {
        this.id = id;
        this.title = title;
        this.isSelect = isSelect;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }
}